//
//  MultiFoldInfo.h
//  RSW.IOS
//
//  Created by zhaiqiuqiu on 2017/9/3.
//  Copyright © 2017年 com.xtion.crm. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface MultiFoldInfo : NSObject

@property(nonatomic,strong) NSString *pkId;
@property(nonatomic,strong) NSString *pId;
@property(nonatomic,strong) NSString *text;
@property(nonatomic,strong) NSString *level;

@property(nonatomic,assign) NSUInteger belowCount;
@property(nonatomic,strong) MultiFoldInfo *supermodel;
@property(nonatomic,strong) NSMutableArray<__kindof MultiFoldInfo *> *submodels;

+ (instancetype)modelWithDic:(NSDictionary*)dic;
- (NSArray *)open;
- (void)closeWithSubmodels:(NSArray*)submodels;

@end
